package com.windoent.yugioh.bean;

import java.util.List;

/**
 * author : robert
 * date   : 2021/5/6 15:25
 * desc   :
 */
public class ZiXunMessageBean {


    /**
     * code : 200
     * data : {"banner":[{"title":"咨询1","image":"images/banner1.png","url":{"type":"","id":""}},{"title":"咨询2","image":"images/banner1.png","url":{"type":"","id":""}},{"title":"咨询3","image":"images/banner2.jpg","url":{"type":"","id":""}}],"count":17,"limit":"10","news":[{"title":"游戏王啊啊传达出的是","cover":"images/banner1.png","author":"影碟官方","view":101,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"一起进来玩把","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"}],"page":"1"}
     * msg : 查询成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * banner : [{"title":"咨询1","image":"images/banner1.png","url":{"type":"","id":""}},{"title":"咨询2","image":"images/banner1.png","url":{"type":"","id":""}},{"title":"咨询3","image":"images/banner2.jpg","url":{"type":"","id":""}}]
         * count : 17
         * limit : 10
         * news : [{"title":"游戏王啊啊传达出的是","cover":"images/banner1.png","author":"影碟官方","view":101,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"一起进来玩把","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"},{"title":"cdascdascdas","cover":"images/banner1.png","author":"2334342","view":102,"time_desc":"21天前"}]
         * page : 1
         */

        private int count;
        private String limit;
        private String page;
        private List<BannerBean> banner;
        private List<NewsBean> news;

        public int getCount() {
            return count;
        }

        public void setCount(int count) {
            this.count = count;
        }

        public String getLimit() {
            return limit;
        }

        public void setLimit(String limit) {
            this.limit = limit;
        }

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public List<BannerBean> getBanner() {
            return banner;
        }

        public void setBanner(List<BannerBean> banner) {
            this.banner = banner;
        }

        public List<NewsBean> getNews() {
            return news;
        }

        public void setNews(List<NewsBean> news) {
            this.news = news;
        }

        public static class NewsBean {
            /**
             * title : 游戏王啊啊传达出的是
             * cover : images/banner1.png
             * author : 影碟官方
             * view : 101
             * time_desc : 21天前
             */

            private String title;
            private String cover;
            private String author;
            private int id;
            private int view;
            private String time_desc;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getCover() {
                return cover;
            }

            public void setCover(String cover) {
                this.cover = cover;
            }

            public String getAuthor() {
                return author;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public int getView() {
                return view;
            }

            public void setView(int view) {
                this.view = view;
            }

            public String getTime_desc() {
                return time_desc;
            }

            public void setTime_desc(String time_desc) {
                this.time_desc = time_desc;
            }
        }
    }
}
